package com.jianbing.lakk.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianbing.common.annotation.Excel;
import com.jianbing.common.core.domain.BaseEntity;

/**
 * 玩耍记录表对象 lakk_userplaytimerecord
 * 
 * @author windbless
 * @date 2024-06-25
 */
public class LakkUserplaytimerecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userid;

    /** 日期 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 当日游玩时长累计 */
    @Excel(name = "当日游玩时长累计")
    private Long cumulativeplaytime;

    /** 历史更新记录 */
    @Excel(name = "历史更新记录")
    private String historicalupdaterecord;

    public void setUserid(Long userid)
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }
    public void setDate(Date date)
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setCumulativeplaytime(Long cumulativeplaytime) 
    {
        this.cumulativeplaytime = cumulativeplaytime;
    }

    public Long getCumulativeplaytime() 
    {
        return cumulativeplaytime;
    }
    public void setHistoricalupdaterecord(String historicalupdaterecord) 
    {
        this.historicalupdaterecord = historicalupdaterecord;
    }

    public String getHistoricalupdaterecord() 
    {
        return historicalupdaterecord;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userid", getUserid())
            .append("date", getDate())
            .append("cumulativeplaytime", getCumulativeplaytime())
            .append("historicalupdaterecord", getHistoricalupdaterecord())
            .toString();
    }
}
